package cn.gok.common.entity.backstage;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 后台管理系统菜单实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_menu")
public class SysMenu {

    @TableId("MENU_ID")
    private Long menuId;

    @TableField("PARENT_ID")
    private Long parentId;

    @TableField("MENU_NAME")
    private String menuName;

    @TableField("URL")
    private String url;

    @TableField("PERMS")
    private String perms;

    @TableField("TYPE")
    private Integer type;

    @TableField("ICON")
    private String icon;

    @TableField("ORDER_NUM")
    private Integer orderNum;

    @TableField("REMARK")
    private String remark;

    @TableField("ROUTER_NAME")
    private String routerName;

    @TableField("ROUTER_PATH")
    private String routerPath;

    private List <SysMenu> son;
}